<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>pageDownTest</title>
	<style>
		body {
			height: 300vh;
			margin: 0;
			padding: 0;
		}

		.page-down {
			width: 100px;
			height: 50px;
			line-height: 50px;
			margin: 0 auto;
			position: absolute;
			background-color: red;
		}

		.test {
			padding: 0;
			margin: 0;
			height: 100vh;
			background-color: orange;
			padding-bottom: 1rem;
		}
	</style>
	<script src="../../../dist/Free.js"></script>
</head>

<body>
	<div class="page-down">整屏翻页</div>
	<div class="test"></div>
	<script>
		$.pageDown({
			button: '.page-down',
		});
	</script>
</body>

</html>